package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Collect;
import cn.wolfcode.trip.base.domain.Dynamic;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.SearcheObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDynamicService {

    int deleteByPrimaryKey(Long id);

    int insert(Dynamic record);

    Dynamic selectByPrimaryKey(Long id);

    List<Dynamic> selectAll();

    int updateByPrimaryKey(Dynamic record);

    PageInfo query(QueryObject qo);
}
